package org.dromara.netbar.domain.vo;

import org.dromara.netbar.domain.NetbarMemberBalanceLog;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 余额流水表视图对象 netbar_member_balance_log
 *
 * @author Lion Li
 * @date 2025-07-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = NetbarMemberBalanceLog.class)
public class NetbarMemberBalanceLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long memberBalanceId;

    /**
     * 会员ID
     */
    @ExcelProperty(value = "会员ID")
    private Long memberId;

    /**
     * 变动金额，分为单位，正数增加，负数减少
     */
    @ExcelProperty(value = "变动金额，分为单位，正数增加，负数减少")
    private Long amount;

    /**
     * 操作前余额，分为单位
     */
    @ExcelProperty(value = "操作前余额，分为单位")
    private Long balanceBefore;

    /**
     * 操作后余额，分为单位
     */
    @ExcelProperty(value = "操作后余额，分为单位")
    private Long balanceAfter;

    /**
     * 1充值 2消费 3退款
     */
    @ExcelProperty(value = "1充值 2消费 3退款")
    private Long businessType;

    /**
     * 1基本余额 2奖励余额
     */
    @ExcelProperty(value = "1基本余额 2奖励余额")
    private Long balanceType;


}
